package com.koron.operation.classes.schedule.bean.query;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 排班方案查询条件
 * @author jzp
 * @since 2021/10/20
 */
@Data
public class ScheduleQuery {

    @ApiModelProperty("id列表")
    private List<String> ids;

    @ApiModelProperty("排班方案名称")
    private String name;

    @ApiModelProperty("班别方案名称")
    private String classesName;

    @ApiModelProperty("值班人员类型列表，数据字典：operation_staff_type")
    private List<String> staffTypes;

    @ApiModelProperty("值班单位id")
    private String deptId;

    @ApiModelProperty("值班单位名称")
    private String deptName;

    @ApiModelProperty("值班地点id")
    private String locationId;

    @ApiModelProperty("值班地点名称")
    private String locationName;

    @ApiModelProperty("默认0启用，1停用")
    private List<Integer> status;

    @ApiModelProperty("排班开始时间范围，[起始时间, 结束时间]")
    private List<Date> startDates;

    @ApiModelProperty("排班结束时间范围，[起始时间, 结束时间]")
    private List<Date> endDates;

    @ApiModelProperty("创建人id")
    private String createBy;

    @ApiModelProperty("创建人名称")
    private String createByName;

    @ApiModelProperty("创建时间")
    private List<Date> createTime;

    // 只给分页列表用
    @ApiModelProperty("排班方案运行状态，数据字典：shift_run_status")
    private List<Integer> health;

    @ApiModelProperty("所属月份时间")
    private Date monthDate;
    @ApiModelProperty("值班类型")
    private String staffType;
    private Integer deleteFlag = 0;
}
